<script>
export default {
  props: ["placeholder", "value", "maxlength", "minlength", "disabled"],
  render(createdElement) {
    return createdElement("input", {
      class: "overall-input",
      attrs: {
        placeholder: this.placeholder,
        disabled: this.disabled || true,
      },
    });
  },
};
</script>

<style scoped>
.overall-input {
  outline: none;
  padding: 7px 10px;
  border: 1px solid #dcdfe6;
  transition: border-color 280ms linear;
  border-radius: 4px;
  box-sizing: border-box;
}
.overall-input:disabled {
  background: #f3f3f3;
}
.overall-input::placeholder {
  color: rgb(171, 171, 176);
}
.overall-input:focus {
  border-color: #286fcf;
}

.overall-input-size-small {
  font-size: 0.6rem;
}
</style>
